﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Disco.Ontology
{
    public class Rating : EntityBase, ITrackingEntity
    {
        [Range(-6,6)]
        public int Score { get; set; }
        public long PostId { get; set; }
        public long UserId { get; set; }

        public virtual User User { get; set; }
        public virtual Post Post { get; set; }

        public virtual Originator ModifiedBy { get; set; }
        public virtual ChangeDetail ChangeDetail { get; set; }
    }
}
